//
//  DownloadFileManager.h
//  wanzhaoIM
//
//  Created by wanzhao on 15/10/23.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <Foundation/Foundation.h>

@class CFileModel;
@interface DownloadFileManager : NSObject
//插入文件
-(BOOL)insertDownloadFile:(CFileModel *)fileModel;
//批量插入文件
-(BOOL)batchInsertDownloadFile:(NSArray *)fileList;
//删除文件
-(BOOL)delDownFiles:(CFileModel *)fileModel;
-(BOOL)delDownFileWithServerFileName:(NSString *)ServerFileName;
- (BOOL)delAllDownFile;
//通过组id加载文件
-(NSArray *)loadAllDownloadFiles;
- (CFileModel *)loadFileWihtServerFileName:(NSString *)serverFileName;


@end
